package com.lingdong.onlinejudge.constant;

/**
 * 通用常量
 *

 */
public interface CommonConstant {

    /**
     * 升序
     */
    String SORT_ORDER_ASC = "ascend";

    /**
     * 降序
     */
    String SORT_ORDER_DESC = " descend";

    /**
     * 验证码前缀
     */
    String CAPTCHA_PREFIX = "captcha.";

    /**
     * 验证码过期时间
     */
    Long CAPTCHA_EXPIRE_TIME = 30 * 10L;

    /**
     * 验证码过期时间
     */
    Long USER_TOKEN_TIME = 2592000L;

    /**
     * 用户token前缀
     */
    String USER_TOKEN_PREFIX = "user.token.";

    /**
     * email 前缀
     */
    String EMAIL_PREFIX = "email.";

}
